/// <summary> /// /// </summary> private void SetChildPositions(Block block) { block.ChildPositions = BlockInformations.GetChildPositionData(block.BlockType); }
/// <summary> /// Awake is called when the script instance is being loaded. /// </summary> private void Awake() { this.FindComponentReferences(); this.blockPieces = BlockManager.Instance.GetBlockPieces(this); this.childPositions = BlockInformations.GetChildPositionData(this.blockType); }