示例#1
0
        private void Start()
        {
            JCS_PlayerManager pm   = JCS_PlayerManager.instance;
            JCS_2DGameManager gm2d = JCS_2DGameManager.instance;

            if (pm != null)
            {
                pm.IgnorePhysicsToAllPlayer(mBoxCollider);
            }

            if (gm2d != null)
            {
                gm2d.IgnoreAllPlatformTrigger(mBoxCollider);
            }
        }
示例#2
0
        //----------------------
        // Protected Variables

        //========================================
        //      setter / getter
        //------------------------------

        //========================================
        //      Unity's function
        //------------------------------
        private void Awake()
        {
            instance = this;

            mPlatformList = new List <JCS_2DPositionPlatform>();
        }