This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/////////////////////////////////////////////////////////////////////////////// | |
// License: https://opensource.org/licenses/unlicense | |
// | |
// TL;DR: | |
// 1) you may do what you like with it... | |
// 2) ...except blame me for any consequence of acting on rule 1) | |
// | |
/////////////////////////////////////////////////////////////////////////////// | |
using System.Collections.Generic; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// StandaloneBuildCompilationChecker by Alex 'darbotron' Darby | |
// | |
// License: https://opensource.org/licenses/unlicense | |
// TL;DR: | |
// 1) you may do what you like with it... | |
// 2) ...except blame me for any consequence of acting on rule 1) | |
// | |
#if UNITY_EDITOR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// GenericUnityEditorSettings by Alex 'darbotron' Darby | |
// | |
// License: https://opensource.org/licenses/unlicense | |
// TL;DR: | |
// 1) you may do what you like with it... | |
// 2) ...except blame me for any consequence of acting on rule 1) | |
// | |
using UnityEngine; | |
using UnityEditor; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// License: https://opensource.org/licenses/unlicense | |
// TL;DR: | |
// 1) you may do what you like with it... | |
// 2) ...except blame me for any consequence of acting on rule 1) | |
// | |
using System; | |
using System.Collections; | |
using UnityEngine; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class TargetingCamera : MonoBehaviour | |
{ | |
[SerializeField] Transform m_Horizontal = null; | |
[SerializeField] Transform m_Vertical = null; | |
[SerializeField] Transform m_Target = null; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int AddOneTo( int iParameter ) | |
{ | |
int iLocal = iParameter + 1; | |
return iLocal; | |
} | |
int main( int argc, char** argv ) | |
{ | |
int iResult = 0; | |
iResult = AddOneTo( iResult ); |