// Use this for initialization
	void Start() {
		auto = this.GetComponent<WaveVR_AutoLayout>();
		if (auto != null)
		{
			auto.enabled = false;
		}

		if (autoLayout)
			createAutoIndicator();
	}
	public void createAutoIndicator()
	{
		if (auto == null)
		{
			auto = this.GetComponent<WaveVR_AutoLayout>();
			if(auto == null)
			{
				this.gameObject.AddComponent<WaveVR_AutoLayout>();
				auto = this.GetComponent<WaveVR_AutoLayout>();
				if(auto == null)
					Log.w(LOG_TAG, "WaveVR_AutoLayout can't be found.", true);
			}
		}

		if (auto != null)
		{
			auto.enabled = true;
		}

		//auto flag
		auto.autoLayout = autoLayout;

		// Indicator feature
		auto.showIndicator = showIndicator;
		auto.showIndicatorAngle = showIndicatorAngle;
		auto.hideIndicatorByRoll = hideIndicatorByRoll;
		auto.basedOnEmitter = basedOnEmitter;
		auto.displayPlane = _displayPlane;
		// Line customization
		auto.lineStartWidth = lineStartWidth;
		auto.lineEndWidth = lineEndWidth;
		auto.lineColor = lineColor;
		// Text customization
		auto.textCharacterSize = textCharacterSize;
		auto.zhCharactarSize = zhCharactarSize;
		auto.textFontSize = textFontSize;
		auto.textColor = textColor;
		//Auto Button Indication
		auto.buttonIndicationList = autoButtonIndicationList;

		auto.CreateIndicator();
	}