public void SetController(GameObject gameObject, Slicer2DInputController inputController, Slicer2DVisuals visualsSettings, Slice2DLayer layerObject, Slicer2DControllerEventHandling eventHandling) { input = inputController; visuals = visualsSettings; sliceLayer = layerObject; eventHandler = eventHandling; visuals.SetGameObject(gameObject); }
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); }
void Awake() { visuals.SetGameObject(gameObject); visuals.lineEndSize = 0; }