For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.
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
| const objectToFormData = ( | |
| obj: Record<string, unknown>, | |
| parentKey = "", | |
| ): FormData => { | |
| const formData = new FormData(); | |
| for (const key in obj) { | |
| const fullKey = parentKey ? `${parentKey}[${key}]` : key; | |
| if ( |
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 PipeSpawner : MonoBehaviour | |
| { | |
| //Global variables | |
| [SerializeField] private Bird bird; | |
| [SerializeField] private Pipe pipeUp, pipeDown; | |
| [SerializeField] private float spawnInterval = 1; |
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
| <?xml version="1.0"?> | |
| <soap:Envelope | |
| xmlns:soap="http://kerudung.merah/2018/11/soap-envelope/" | |
| soap:encodingStyle="http://kerudung.merah/2018/11/soap-encoding"> | |
| <soap:Header> | |
| <m:Trans xmlns:m="http://kerudung.merah/transaction/" | |
| soap:actor="http://kerudung.merah/code/" | |
| soap:mustUnderstand="1">234 | |
| </m:Trans> |