public static void OnShapeRotateStart(Shape shape) { SignalsUtils.DestroySignalsInCell(shape.Xindex, shape.Yindex); if (CurrentGameMode != GameMode.InvokeAdjuster) { ConnectorsManager.CheckAllConnections(); } }
private void OnTriggerEnter(Collider c) //проверка, пришел ли сигнал { if (IsStartConnector) { return; } ConnectorsManager.CheckAllConnections(); if (ConnectorsManager.IsConnectedAtLastChecking(this)) { SwitchToOn(); } }