Example #1
0
        public void SetScript(BaseSensor script)
        {
            RemoveScript();

            m_UpdateScript = script;

            if (script)
            {
                m_UpdateScriptType = script.GetType();
            }
        }
Example #2
0
		public void SetScript(BaseSensor script)
		{
			RemoveScript();

			m_UpdateScript = script;

			if (script)
				m_UpdateScriptType = script.GetType();
		}