void InitializeAnchor(PlatformAnchorsTypes _anchorType) { PlatformAnchors anchor = TransformAnchorByType(_anchorType); switch (_anchorType) { case PlatformAnchorsTypes.Stick: break; case PlatformAnchorsTypes.Stoper: break; } }
void PositionizeAnchor(PlatformAnchorsTypes _anchorType) { PlatformAnchors anchor = TransformAnchorByType(_anchorType); switch (_anchorType) { case PlatformAnchorsTypes.Stick: anchor._transform.localPosition = new Vector3(Width * 0.5f, -10f, 0f); break; case PlatformAnchorsTypes.Stoper: anchor._transform.localPosition = new Vector3(Width * 0.5f, 0f, 0f); break; case PlatformAnchorsTypes.Checker: anchor._transform.localPosition = new Vector3(Width * 0.5f, 0f, 0f); break; } }