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 | |
# Function to print error messages | |
error() { | |
echo "ERROR: $1" >&2 | |
exit 1 | |
} | |
# Function to print usage | |
usage() { |
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 UnityEditor; | |
public class ReplacePrefab : EditorWindow { | |
[MenuItem("GameEditor/ReplacePrefab")] | |
public static void ShowWindow() | |
{ | |
EditorWindow.GetWindow(typeof(ReplacePrefab)); | |
} | |
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.IO; | |
using UnityEngine; | |
using UnityEditor; | |
using System.Collections.Generic; | |
public class MakeItemsLine : EditorWindow | |
{ | |
private Vector3 m_startPos; | |
private float m_unitLength; |
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.IO; | |
using UnityEngine; | |
using UnityEditor; | |
using System.Collections.Generic; | |
public class MakeCoinCurve : EditorWindow { | |
private Vector3 m_startPos; | |
private float m_forwardSpeed = 6f; | |
private float m_upSpeed = 13.5f; |
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 | |
# Plant rope vim's plugin | |
# This is a script to install or update 'ropevim' | |
# Copyright Alexander Artemenko, 2008 | |
# Contact me at svetlyak.40wt at gmail com | |
function create_dirs | |
{ | |
mkdir -p src |