Exemplo n.º 1
0
/// <summary>
/// Loads the values to this script.
/// </summary>
    public void LoadValuesToEditor()
    {
        childScript.DetermineTeamCaptain();

        behaviourOnChase       = childScript.behaviourOnChase;
        behaviourOnEnemyEngage = childScript.behaviourOnEnemyEngage;
        behaviourOnPanic       = childScript.behaviourOnPanic;
        behaviourOnEnemySight  = childScript.behaviourOnEnemySight;

        currentTeamCaptain      = childScript.currentTeamCaptain;
        currentTeamCaptainIndex = childScript.currentTeamCaptainIndex;

        predefinedStrategies = childScript.strategy;
        strategyScript       = childScript.strategyScript;
    }