public void Awake()
{
// 動作設定値の初期値
m_cfg.DebugLevel = (int)DEBUG_LEVELS.SHOW_CAPTION;
m_cfg.ScenesEnable = "5,14,4,20";
m_cfg.PowersEnable = "NAKED_EYES";
m_cfg.ParallaxScale = 0.1f;
m_cfg.DefaultPower = "OFF";
m_cfg.DefaultMode = "RL";
m_cfg.KeyTogglePower = "K";
m_cfg.KeyToggleMode = "L";
m_cfg.ParaSclAdjKeyInc = "Page Up";
m_cfg.ParaSclAdjKeyDec = "Page Down";
// VRモードでは動作しない
m_bOculusVR = Application.dataPath.Contains( "CM3D2VRx64" );
if( m_bOculusVR ) {
Console.WriteLine( "{0}: Occuls Rift is not Support.", GetPluginName());
return;
}
GameObject.DontDestroyOnLoad( this );
GetPluginPreferences();
}