Ejemplo n.º 1
0
        private void Start()
        {
            if (!Configuration.DisableForLivCamera)
            {
                return;
            }

            if (Resources.FindObjectsOfTypeAll <MoveBackWall>().Any())
            {
                Configuration.MoveBackLayer = Resources.FindObjectsOfTypeAll <MoveBackWall>().First().gameObject.layer;
            }

            _livWalls = gameObject.AddComponent <LivWalls>();
            StartCoroutine(_livWalls.ApplyGameCoreModifications());
        }
Ejemplo n.º 2
0
 private void OnDestroy()
 {
     _livWalls = null;
 }