コード例 #1
0
    protected override void Start()
    {
        base.Start();

        // Initialize AI behaviour (this will launch the AI)
        this.behaviour = TurrelEnemyAI.Initialize(this);

        weapon = GetComponentInChildren <Weapon>();
        weapon.Owned(this);
    }
コード例 #2
0
    protected override void Awake()
    {
        base.Awake();

        instance = this;
    }