ControllerAIHumanoid.PreStartClient C# (CSharp) Method

PreStartClient() public method

public PreStartClient ( ) : void
return void
    public override void PreStartClient()
    {
        this.weapon = GetComponent<IWeapon>();
        if (!isServer)
        {
            Destroy(GetComponent<AIPath>());
            Destroy(GetComponent<SphereCollider>());
            Destroy(GetComponent<CapsuleCollider>());
            Destroy(GetComponent<Seeker>());
            Destroy(GetComponent<RVOController>());
            Destroy(GetComponent<FunnelModifier>());
        }
    }
    public override void OnStartServer()