Ejemplo n.º 1
0
        public override void GuiParameters()
        {
            patrolAgent = (AISVarComponent)AISEditorUtil.VarPopUp("Points", ai, patrolAgent, typeof(AISVarComponent), typeof(PatrolAgent));
            patrolIdx   = UnityEditor.EditorGUILayout.IntField("Patrol idx:", patrolIdx);

            base.GuiParameters();
        }
Ejemplo n.º 2
0
        public override void GuiParameters()
        {
            base.GuiParameters();

            destinyKey = AISEditorUtil.VarPopUp("Destiny:", ai, destinyKey, typeof(AISVarSingle), typeof(Transform));

            stopDistance = EditorGUILayout.FloatField("Stop distance:", stopDistance);
        }
Ejemplo n.º 3
0
 public override void GuiParameters()
 {
     listKey = AISEditorUtil.VarPopUp("List to select", ai, listKey, typeof(AISVarList));
     best    = AISEditorUtil.VarPopUp("Single to select", ai, best, typeof(AISVarSingle));
 }