예제 #1
0
	private void OnDrawGizmos()
	{
		if (turtle != null)
		{
			turtle.DrawGizmos();
		}
	}
예제 #2
0
    private void OnDrawGizmos()
    {
        if (debugTreeGraph && treeRoot != null)
        {
            Gizmos.color = Color.black;
            treeRoot.DrawGizmos();
        }

        if (debugTurtle && turtle != null)
        {
            Gizmos.color = Color.red;
            turtle.DrawGizmos();
        }
    }