This file contains 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
//This method goes in your character controller | |
//CharacterController.cs | |
void GlueToFloor () | |
{ | |
if (Mathf.Abs (move) > 0 || !groundHit || IM.Jump_Button ()) { | |
this.transform.GetComponent<Rigidbody2D> ().isKinematic = false; | |
} | |
else if (groundHit && Mathf.Abs (move) == 0 && !isPlatform) { | |
this.transform.GetComponent<Rigidbody2D> ().isKinematic = true; | |
} |
This file contains 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 UnityEngine; | |
using System.Collections; | |
using UnityEditor; | |
using System.IO; | |
using System; | |
public class LevelScreenshot: EditorWindow { | |
// Quality Settings | |
enum Quality { | |
high = 4, Medium = 3, Normal = 2, Low = 1 |
This file contains 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
void GlueToStairs () | |
{ | |
if (!groundHit || IM.Jump_Button () || !isStair || Mathf.Abs(move) > 0) | |
this.transform.GetComponent<Rigidbody2D> ().isKinematic = false; | |
else if (groundHit && isStair) | |
this.transform.GetComponent<Rigidbody2D> ().isKinematic = true; | |
} |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>CFBundleDevelopmentRegion</key> | |
<string>English</string> | |
<key>CFBundleExecutable</key> | |
<string>[YourGameName]</string> | |
<key>CFBundleGetInfoString</key> | |
<string>Your Game Name (c) 2017 Dilmer Games. All rights reserved.</string> |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>com.apple.security.app-sandbox</key> | |
<true/> | |
<key>com.apple.developer.game-center</key> | |
<true/> | |
</dict> | |
</plist> |
This file contains 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
#!/bin/bash | |
echo "Copying provisioning profile..." | |
cp ./embedded.provisionprofile ./YourGameName.app/Contents/ | |
echo "Starting Signing..." | |
codesign -f --deep -s "3rd Party Mac Developer Application: [Your Name]" --entitlements "./YourGameName.entitlements" ./YourGameName.app/Contents/Frameworks/MonoEmbedRuntime/osx/libmono.0.dylib | |
codesign -f --deep -s "3rd Party Mac Developer Application: [Your Name]" --entitlements "./YourGameName.entitlements" ./YourGameName.app/Contents/Frameworks/MonoEmbedRuntime/osx/libMonoPosixHelper.dylib | |
codesign -f --deep -s "3rd Party Mac Developer Application: [Your Name]" --entitlements YourGameName.entitlements "./YourGameName.app/" | |
echo "Done Signing..." |
This file contains 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
#!/bin/bash | |
echo "Copying provisioning profile..." | |
cp ./embedded.provisionprofile ./Cubiques.app/Contents/ | |
echo "Copying plist template..." | |
cp ./Info.plist ./Cubiques.app/Contents/ | |
echo "Starting Signing..." | |
codesign -f --deep -s "3rd Party Mac Developer Application: Dilmer Valecillos" --entitlements "./Cubiques.entitlements" ./Cubiques.app/Contents/Frameworks/MonoEmbedRuntime/osx/libmono.0.dylib | |
codesign -f --deep -s "3rd Party Mac Developer Application: Dilmer Valecillos" --entitlements "./Cubiques.entitlements" ./Cubiques.app/Contents/Frameworks/MonoEmbedRuntime/osx/libMonoPosixHelper.dylib |
This file contains 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
CREATE VIEW [dbo].[vwCustomerUpload] | |
AS | |
SELECT | |
MAX([ocp].[OnlineCustomerPersonID]) as [OnlineCustomerPersonID], | |
MAX([ocp].[Email]) as [Email], | |
MAX([ocp].[Password]) as [Password], | |
MAX([ocp].[DemoID]) as [DemoID], | |
MAX([ocp].[FirstName]) as [FirstName], | |
MAX([ocp].[LastName]) as [LastName], |
This file contains 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
#if UNITY_ANDROID | |
using System.Reflection; | |
using System.Xml; | |
using UnityEngine; | |
using UnityEngine.Rendering; | |
using UnityEditor.Android; | |
using UnityEditor.Build; | |
using UnityEditor.Build.Reporting; | |
namespace UnityEditor.XR.Oculus |
This file contains 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.Generic; | |
using UnityEngine; | |
using UnityEngine.EventSystems; | |
using UnityEngine.UI; | |
using UnityEngine.XR.ARFoundation; | |
[RequireComponent(typeof(ARRaycastManager))] | |
public class PlacementWithManySelectionWithScaleController : MonoBehaviour | |
{ | |
[SerializeField] |
OlderNewer