exSprite.OnDisable C# (CSharp) 메소드

OnDisable() 보호된 메소드

protected OnDisable ( ) : void
리턴 void
    protected new void OnDisable()
    {
        base.OnDisable();

        // NOTE: though we have ExecuteInEditMode, user can Add/Remove spanim in Editor
        if ( spanim == null ) {
            spanim = GetComponent<exSpriteAnimation>();
        }
        // DISABLE {
        // if ( spanim ) {
        //     spanim.Stop();
        // }
        // } DISABLE end
    }