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; | |
class MeshBoundaryFinder { | |
public class BoundaryData { | |
public Vector3 left; | |
public Vector3 right; | |
public Vector3 top; | |
public Vector3 bottom; |
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
string fileName = category + "_icon_" + atlasIndex + "_atlas.jpeg"; | |
string directoryTarget = "Assets/Textures/icon_atlas/"; | |
string fullDirectoryTarget = "Assets/" + directoryTarget; | |
string fullAddress = fullDirectoryTarget + fileName; | |
if (!Directory.Exists(fullDirectoryTarget)) { | |
Debug.Log("Create directory:" + fullDirectoryTarget); | |
Directory.CreateDirectory(fullDirectoryTarget); | |
} |
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
https://app.assemblrworld.com/?action=creation&data=-L6BiFHxDTtamI6Pl-xI | |
https://app.assemblrworld.com/?action=creation&data=-L6fEYXYdM9JYrD6w9H6 | |
https://app.assemblrworld.com/?action=creation&data=-LBxM_qNmziyDdcfIBOK | |
https://app.assemblrworld.com/?action=creation&data=-LP0A37qGifDFS_vxiZk | |
https://app.assemblrworld.com/?action=creation&data=-LPAneVS3Nb7yIB1JMjC | |
https://app.assemblrworld.com/?action=creation&data=-LPTSqDja2tbZwIn5mft | |
https://app.assemblrworld.com/?action=creation&data=-LPuQoFJ_k7U4Zy8dMSq | |
https://app.assemblrworld.com/?action=creation&data=-LQaEQHxWlQjKvEThRG_ | |
https://app.assemblrworld.com/?action=creation&data=-LQdinkmaHUPqvxIH5m0 | |
https://app.assemblrworld.com/?action=creation&data=-LQgMgChgvQ2kaq_6pmo |
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
const gulp = require('gulp'); | |
const browserify = require('browserify'); | |
const watchify = require('watchify'); | |
const errorify = require('errorify'); | |
const del = require('del'); | |
const tsify = require('tsify'); | |
const gulpTypings = require('gulp-typings'); | |
const source = require('vinyl-source-stream'); | |
const runSequence = require('run-sequence'); | |
const uglify = require('gulp-uglify'); |
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; | |
using System.Collections; | |
using System; | |
public class ObjectsOnSaveDisabler : SaveAssetsProcessor | |
{ | |
static string[] OnWillSaveAssets(string[] paths) | |
{ | |
GameObject[] gameObjects = UnityEngine.SceneManagement.SceneManager.GetActiveScene().GetRootGameObjects(); |
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
//-------------- Time Token --------------// | |
// kita panggil nilai yang berubah per waktu sebagai time token. yes. | |
// kenapa ini dibuat? Karena countdown playfab sucks. | |
// -------- yang ini nanti tertulis di title data user pas manggil useTimeToken. | |
var TT_PREFIX = "TT_"; | |
// // isi dari token | |
// var TIMETOKEN_VALUE_PREFIX = "TTValue_"; |
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; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class DirectionTester : MonoBehaviour | |
{ | |
public Transform titikA; | |
public Transform titikB; | |
public Transform titikC; |
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
Shader "Prago/WaveShader" | |
{ | |
Properties | |
{ | |
_MainTex("Texture", 2D) = "white" {} | |
} | |
SubShader | |
{ | |
Tags { "RenderType" = "Opaque" } | |
LOD 100 |
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; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class Meriam : MonoBehaviour | |
{ | |
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; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace SemangSolv | |
{ | |
class SemangSolver | |
{ |