예제 #1
0
    void Start()
    {
        f_InitRot = this.transform.localEulerAngles.z;
        oldRot    = f_InitRot;

        sc_syncvar = SC_SyncVar_BreakdownWeapon.Instance;
    }
    /// ////////////////////////////////////////////////////////////////////// /// //////////////////////////////////////////////////////////////////////
    /// ////////////////////////////////////////////////////////////////////// /// //////////////////////////////////////////////////////////////////////

    void Awake()
    {
        if (_instance != null && _instance != this)
        {
            Destroy(gameObject);
        }
        else
        {
            _instance = this;
        }
    }