public void SetController(GameObject gameObject, Slicer2DInputController inputController, Slicer2DVisuals visualsSettings, Slice2DLayer layerObject, Slicer2DControllerEventHandling eventHandling)
 {
     input        = inputController;
     visuals      = visualsSettings;
     sliceLayer   = layerObject;
     eventHandler = eventHandling;
     visuals.SetGameObject(gameObject);
 }
Beispiel #2
0
        public void Start()
        {
            visuals.Initialize(gameObject);

            visuals.SetGameObject(gameObject);

            for (int id = 0; id < 10; id++)
            {
                linearPair[id] = Pair2.zero;
            }
        }
 public void Start()
 {
     visuals.Initialize(gameObject);
     visuals.SetGameObject(gameObject);
 }
Beispiel #4
0
        void Awake()
        {
            visuals.SetGameObject(gameObject);

            visuals.lineEndSize = 0;
        }