poprawki materialy unity 6, pajaki, podmiana katalogu FSM w AIControlerze, zmiana w Spider 2.0 Behaviours , skopane zycie bylo, ladowalo pajaka z zyciem 2.
This commit is contained in:
@@ -35,10 +35,19 @@ namespace Invector.vCharacterController.AI.FSMBehaviour
|
||||
|
||||
public static float borderAlpha { get { return GetValue<float>("borderAlpha"); } set { SetValue("borderAlpha", value); } }
|
||||
|
||||
|
||||
// Add preferences section named "My Preferences" to the Preferences Window
|
||||
[PreferenceItem("vFSM Behaviour")]
|
||||
|
||||
#if UNITY_2019_1_OR_NEWER
|
||||
[SettingsProvider]
|
||||
public static SettingsProvider CreateSettingsProvider()
|
||||
{
|
||||
return new SettingsProvider("Invector Preferences/FSM Behaviour", SettingsScope.User)
|
||||
{
|
||||
guiHandler = (searchContext) =>
|
||||
{
|
||||
PreferencesGUI();
|
||||
}
|
||||
};
|
||||
}
|
||||
#endif
|
||||
public static void PreferencesGUI()
|
||||
{
|
||||
var style = new GUIStyle(EditorStyles.boldLabel);
|
||||
@@ -112,7 +121,7 @@ namespace Invector.vCharacterController.AI.FSMBehaviour
|
||||
}
|
||||
|
||||
static void Save()
|
||||
{
|
||||
{
|
||||
System.Text.StringBuilder text = new System.Text.StringBuilder();
|
||||
var count = 0;
|
||||
if (keyValues == null) Load();
|
||||
@@ -175,6 +184,7 @@ namespace Invector.vCharacterController.AI.FSMBehaviour
|
||||
|
||||
Save();
|
||||
}
|
||||
|
||||
static bool inLoad;
|
||||
static void StringToPreferences(string stringValue)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user