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
label choose_pronouns_MC: | |
menu: | |
"What pronouns do you want to use?" | |
"He/Him": | |
python: | |
pronouns_MC = "He/Him" | |
pronoun_he = "He" | |
pronoun_himself = "Himself" | |
pronoun_him = "Him" |
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
public T[] ConvertMultiArrayToSingleArray(T[,] multiArray) | |
{ | |
int x = multiArray.GetLength(0); | |
int y = multiArray.GetLength(1); | |
T[] singleArray = new T[x * y]; | |
int index = 0; | |
for (int i = 0; i < x; i++) |
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 UnityEngine; | |
public class ScreenOrientationCheck | |
{ | |
public static event Action<ScreenOrientation> onOrientationChange; | |
public static ScreenOrientation lastOrientation; | |
[RuntimeInitializeOnLoadMethod] | |
private static void Init() |
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
/*MIT License | |
Copyright (c) 2022 Galahane Rouillé-Poirel | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |