Пример #1
0
        public override void Act(XPManager controller)
        {
            MAIAManager manager = controller as MAIAManager;

            if (manager != null)
            {
                manager.ResetHologram();
            }
        }
Пример #2
0
        public override void Act(XPManager controller)
        {
            MAIAManager manager = controller as MAIAManager;

            if (manager != null)
            {
                manager.StartHologramTubeAnimation();
            }
        }
Пример #3
0
        public override void Act(XPManager controller)
        {
            MAIAManager manager = controller as MAIAManager;

            if (manager != null)
            {
                manager.LaunchVictory();
            }
        }
Пример #4
0
 private void Init(MAIAManager synchronizer)
 {
     _manager      = synchronizer;
     _lMaxCylArray = new float[_cylArray.Length];
     _rMaxCylArray = new float[_cylArray.Length];
     for (int i = 0; i < _cylArray.Length; i++)
     {
         _lMaxCylArray[i] = _cylArray[i].mesh.bounds.extents.y * _cylArray[i].transform.localScale.y;
         _rMaxCylArray[i] = _cylArray[i].mesh.bounds.extents.x * _cylArray[i].transform.localScale.x;
     }
 }
Пример #5
0
 private void Init(MAIAManager synchronizer)
 {
     manager       = synchronizer;
     _boxPositions = new Vector3[_feynmanBoxes.Length];
     _boxRotations = new Quaternion[_feynmanBoxes.Length];
     for (int i = 0; i < _feynmanBoxes.Length; i++)
     {
         _boxPositions[i] = _feynmanBoxes[i].transform.position;
         _boxRotations[i] = _feynmanBoxes[i].transform.rotation;
     }
     _lineManager.Init(_feynmanBoxes);
 }
Пример #6
0
 private void Init(MAIAManager synchronizer)
 {
     _manager = synchronizer;
 }
Пример #7
0
 public void Init(MAIAManager synchronizer)
 {
     manager = synchronizer;
 }
Пример #8
0
 private void Init(MAIAManager manager)
 {
     _manager = manager;
 }